import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import global_msg from './global.js'

import router from './router/router'
import axios from 'axios'

Vue.prototype.$http = axios;
axios.defaults.baseURL = 'http://localhost:8100/'
Vue.config.productionTip = false
Vue.prototype.$global_msg = global_msg;

Vue.use(ElementUI)

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
